package com.winning.yanghao.designpattern.factory.func;

import com.winning.yanghao.designpattern.factory.Computer;

public class FunctionFactoryTest {

    public static void main(String[] args) {
        ComputerFactory computerFactory = new DellComputerFactory();
        Computer computer = computerFactory.getComputer();
        computer.printColor();
        computer.printName();
    }

}
